//
//  MeTopView.m
//  YouSheng
//
//  Created by Mac on 16/8/24.
//  Copyright © 2016年 FanShuHan. All rights reserved.
//

#import "MeTopView.h"
#import "YSMeYuViewController.h"
#import "YSMeBianJiViewController.h"

@interface MeTopView ()

//二维码按钮
@property (weak, nonatomic) IBOutlet UIButton *ewmBtn;


@end

@implementation MeTopView

+ (instancetype)topView {
    return [[[NSBundle mainBundle] loadNibNamed:@"MeTopView" owner:nil options:nil] lastObject];
}

- (void)layoutSubviews {
    [super layoutSubviews];

}

//按钮点击事件
//编辑资料
- (IBAction)bianjBtnClick {
    if ([self.delegate respondsToSelector:@selector(meTopViewClickBjBtn)]) {
        [self.delegate meTopViewClickBjBtn];
    }
}
//余额
- (IBAction)yeBtnClick {
    if ([self.delegate respondsToSelector:@selector(meTopViewClickYeBtn)]) {
        [self.delegate meTopViewClickYeBtn];
    }
}
//二维码
- (IBAction)ewmBtnClick {
    if ([self.delegate respondsToSelector:@selector(meTopViewClickQRCodeBtn)]) {
        [self.delegate meTopViewClickQRCodeBtn];
    }
}
//礼物
- (IBAction)lwBtnClick {
    
}

@end
